﻿using Abp.Application.Services;
using AVIS.OutBound.Cities.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web.Http;

namespace AVIS.OutBound.Cities
{
    /// <summary>
    /// 城市的应用服务类
    /// </summary>
    public interface ICityAppService : IApplicationService
    {
        /// <summary>
        /// 获取热门城市
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        IList<HotCityGroupDto> GetHotCity();

        /// <summary>
        /// 搜索城市信息
        /// </summary>
        /// <param name="k">关键字，按中英名称或中文拼音进行查询</param>
        /// <returns></returns>
        [HttpGet]
        IList<CityDto> QueryCity(string k);
    }
}
